package org.springframework.config;

import org.springframework.bean.MyBean;
import org.springframework.bean.Student;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class SpringConfig {

	@Bean
	public MyBean myBean() {
		return new MyBean();
	}

	@Bean
	public Student student() {
		return new Student();
	}
}
